package com.tledu.spring.dao;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tledu.spring.domain.Craft;
import com.tledu.spring.domain.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface CraftMapper {
    /**
     * 查询所有
     * @param craft
     * @return
     */
    List<Craft> query(Craft craft);
    int insert(Craft craft);
    void delete(Integer id);
    void update(Craft craft);
    Craft selectByCr_Id(Integer cr_id);
    List<Craft> selectByAll(Craft craft);
}
